package com.mytx.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class LiveRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LiveRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andRIdIsNull() {
            addCriterion("r_id is null");
            return (Criteria) this;
        }

        public Criteria andRIdIsNotNull() {
            addCriterion("r_id is not null");
            return (Criteria) this;
        }

        public Criteria andRIdEqualTo(String value) {
            addCriterion("r_id =", value, "rId");
            return (Criteria) this;
        }

        public Criteria andRIdNotEqualTo(String value) {
            addCriterion("r_id <>", value, "rId");
            return (Criteria) this;
        }

        public Criteria andRIdGreaterThan(String value) {
            addCriterion("r_id >", value, "rId");
            return (Criteria) this;
        }

        public Criteria andRIdGreaterThanOrEqualTo(String value) {
            addCriterion("r_id >=", value, "rId");
            return (Criteria) this;
        }

        public Criteria andRIdLessThan(String value) {
            addCriterion("r_id <", value, "rId");
            return (Criteria) this;
        }

        public Criteria andRIdLessThanOrEqualTo(String value) {
            addCriterion("r_id <=", value, "rId");
            return (Criteria) this;
        }

        public Criteria andRIdLike(String value) {
            addCriterion("r_id like", value, "rId");
            return (Criteria) this;
        }

        public Criteria andRIdNotLike(String value) {
            addCriterion("r_id not like", value, "rId");
            return (Criteria) this;
        }

        public Criteria andRIdIn(List<String> values) {
            addCriterion("r_id in", values, "rId");
            return (Criteria) this;
        }

        public Criteria andRIdNotIn(List<String> values) {
            addCriterion("r_id not in", values, "rId");
            return (Criteria) this;
        }

        public Criteria andRIdBetween(String value1, String value2) {
            addCriterion("r_id between", value1, value2, "rId");
            return (Criteria) this;
        }

        public Criteria andRIdNotBetween(String value1, String value2) {
            addCriterion("r_id not between", value1, value2, "rId");
            return (Criteria) this;
        }

        public Criteria andAnchorIdIsNull() {
            addCriterion("anchor_id is null");
            return (Criteria) this;
        }

        public Criteria andAnchorIdIsNotNull() {
            addCriterion("anchor_id is not null");
            return (Criteria) this;
        }

        public Criteria andAnchorIdEqualTo(String value) {
            addCriterion("anchor_id =", value, "anchorId");
            return (Criteria) this;
        }

        public Criteria andAnchorIdNotEqualTo(String value) {
            addCriterion("anchor_id <>", value, "anchorId");
            return (Criteria) this;
        }

        public Criteria andAnchorIdGreaterThan(String value) {
            addCriterion("anchor_id >", value, "anchorId");
            return (Criteria) this;
        }

        public Criteria andAnchorIdGreaterThanOrEqualTo(String value) {
            addCriterion("anchor_id >=", value, "anchorId");
            return (Criteria) this;
        }

        public Criteria andAnchorIdLessThan(String value) {
            addCriterion("anchor_id <", value, "anchorId");
            return (Criteria) this;
        }

        public Criteria andAnchorIdLessThanOrEqualTo(String value) {
            addCriterion("anchor_id <=", value, "anchorId");
            return (Criteria) this;
        }

        public Criteria andAnchorIdLike(String value) {
            addCriterion("anchor_id like", value, "anchorId");
            return (Criteria) this;
        }

        public Criteria andAnchorIdNotLike(String value) {
            addCriterion("anchor_id not like", value, "anchorId");
            return (Criteria) this;
        }

        public Criteria andAnchorIdIn(List<String> values) {
            addCriterion("anchor_id in", values, "anchorId");
            return (Criteria) this;
        }

        public Criteria andAnchorIdNotIn(List<String> values) {
            addCriterion("anchor_id not in", values, "anchorId");
            return (Criteria) this;
        }

        public Criteria andAnchorIdBetween(String value1, String value2) {
            addCriterion("anchor_id between", value1, value2, "anchorId");
            return (Criteria) this;
        }

        public Criteria andAnchorIdNotBetween(String value1, String value2) {
            addCriterion("anchor_id not between", value1, value2, "anchorId");
            return (Criteria) this;
        }

        public Criteria andDIdIsNull() {
            addCriterion("d_id is null");
            return (Criteria) this;
        }

        public Criteria andDIdIsNotNull() {
            addCriterion("d_id is not null");
            return (Criteria) this;
        }

        public Criteria andDIdEqualTo(String value) {
            addCriterion("d_id =", value, "dId");
            return (Criteria) this;
        }

        public Criteria andDIdNotEqualTo(String value) {
            addCriterion("d_id <>", value, "dId");
            return (Criteria) this;
        }

        public Criteria andDIdGreaterThan(String value) {
            addCriterion("d_id >", value, "dId");
            return (Criteria) this;
        }

        public Criteria andDIdGreaterThanOrEqualTo(String value) {
            addCriterion("d_id >=", value, "dId");
            return (Criteria) this;
        }

        public Criteria andDIdLessThan(String value) {
            addCriterion("d_id <", value, "dId");
            return (Criteria) this;
        }

        public Criteria andDIdLessThanOrEqualTo(String value) {
            addCriterion("d_id <=", value, "dId");
            return (Criteria) this;
        }

        public Criteria andDIdLike(String value) {
            addCriterion("d_id like", value, "dId");
            return (Criteria) this;
        }

        public Criteria andDIdNotLike(String value) {
            addCriterion("d_id not like", value, "dId");
            return (Criteria) this;
        }

        public Criteria andDIdIn(List<String> values) {
            addCriterion("d_id in", values, "dId");
            return (Criteria) this;
        }

        public Criteria andDIdNotIn(List<String> values) {
            addCriterion("d_id not in", values, "dId");
            return (Criteria) this;
        }

        public Criteria andDIdBetween(String value1, String value2) {
            addCriterion("d_id between", value1, value2, "dId");
            return (Criteria) this;
        }

        public Criteria andDIdNotBetween(String value1, String value2) {
            addCriterion("d_id not between", value1, value2, "dId");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("description is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("description is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("description =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("description <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("description >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("description >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("description <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("description <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("description like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("description not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("description in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("description not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("description between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("description not between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andRewardIsNull() {
            addCriterion("reward is null");
            return (Criteria) this;
        }

        public Criteria andRewardIsNotNull() {
            addCriterion("reward is not null");
            return (Criteria) this;
        }

        public Criteria andRewardEqualTo(BigDecimal value) {
            addCriterion("reward =", value, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardNotEqualTo(BigDecimal value) {
            addCriterion("reward <>", value, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardGreaterThan(BigDecimal value) {
            addCriterion("reward >", value, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("reward >=", value, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardLessThan(BigDecimal value) {
            addCriterion("reward <", value, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardLessThanOrEqualTo(BigDecimal value) {
            addCriterion("reward <=", value, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardIn(List<BigDecimal> values) {
            addCriterion("reward in", values, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardNotIn(List<BigDecimal> values) {
            addCriterion("reward not in", values, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("reward between", value1, value2, "reward");
            return (Criteria) this;
        }

        public Criteria andRewardNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("reward not between", value1, value2, "reward");
            return (Criteria) this;
        }

        public Criteria andMulctIsNull() {
            addCriterion("mulct is null");
            return (Criteria) this;
        }

        public Criteria andMulctIsNotNull() {
            addCriterion("mulct is not null");
            return (Criteria) this;
        }

        public Criteria andMulctEqualTo(BigDecimal value) {
            addCriterion("mulct =", value, "mulct");
            return (Criteria) this;
        }

        public Criteria andMulctNotEqualTo(BigDecimal value) {
            addCriterion("mulct <>", value, "mulct");
            return (Criteria) this;
        }

        public Criteria andMulctGreaterThan(BigDecimal value) {
            addCriterion("mulct >", value, "mulct");
            return (Criteria) this;
        }

        public Criteria andMulctGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("mulct >=", value, "mulct");
            return (Criteria) this;
        }

        public Criteria andMulctLessThan(BigDecimal value) {
            addCriterion("mulct <", value, "mulct");
            return (Criteria) this;
        }

        public Criteria andMulctLessThanOrEqualTo(BigDecimal value) {
            addCriterion("mulct <=", value, "mulct");
            return (Criteria) this;
        }

        public Criteria andMulctIn(List<BigDecimal> values) {
            addCriterion("mulct in", values, "mulct");
            return (Criteria) this;
        }

        public Criteria andMulctNotIn(List<BigDecimal> values) {
            addCriterion("mulct not in", values, "mulct");
            return (Criteria) this;
        }

        public Criteria andMulctBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("mulct between", value1, value2, "mulct");
            return (Criteria) this;
        }

        public Criteria andMulctNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("mulct not between", value1, value2, "mulct");
            return (Criteria) this;
        }

        public Criteria andProfitRateIsNull() {
            addCriterion("profit_rate is null");
            return (Criteria) this;
        }

        public Criteria andProfitRateIsNotNull() {
            addCriterion("profit_rate is not null");
            return (Criteria) this;
        }

        public Criteria andProfitRateEqualTo(Double value) {
            addCriterion("profit_rate =", value, "profitRate");
            return (Criteria) this;
        }

        public Criteria andProfitRateNotEqualTo(Double value) {
            addCriterion("profit_rate <>", value, "profitRate");
            return (Criteria) this;
        }

        public Criteria andProfitRateGreaterThan(Double value) {
            addCriterion("profit_rate >", value, "profitRate");
            return (Criteria) this;
        }

        public Criteria andProfitRateGreaterThanOrEqualTo(Double value) {
            addCriterion("profit_rate >=", value, "profitRate");
            return (Criteria) this;
        }

        public Criteria andProfitRateLessThan(Double value) {
            addCriterion("profit_rate <", value, "profitRate");
            return (Criteria) this;
        }

        public Criteria andProfitRateLessThanOrEqualTo(Double value) {
            addCriterion("profit_rate <=", value, "profitRate");
            return (Criteria) this;
        }

        public Criteria andProfitRateIn(List<Double> values) {
            addCriterion("profit_rate in", values, "profitRate");
            return (Criteria) this;
        }

        public Criteria andProfitRateNotIn(List<Double> values) {
            addCriterion("profit_rate not in", values, "profitRate");
            return (Criteria) this;
        }

        public Criteria andProfitRateBetween(Double value1, Double value2) {
            addCriterion("profit_rate between", value1, value2, "profitRate");
            return (Criteria) this;
        }

        public Criteria andProfitRateNotBetween(Double value1, Double value2) {
            addCriterion("profit_rate not between", value1, value2, "profitRate");
            return (Criteria) this;
        }

        public Criteria andDonationRateIsNull() {
            addCriterion("donation_rate is null");
            return (Criteria) this;
        }

        public Criteria andDonationRateIsNotNull() {
            addCriterion("donation_rate is not null");
            return (Criteria) this;
        }

        public Criteria andDonationRateEqualTo(Double value) {
            addCriterion("donation_rate =", value, "donationRate");
            return (Criteria) this;
        }

        public Criteria andDonationRateNotEqualTo(Double value) {
            addCriterion("donation_rate <>", value, "donationRate");
            return (Criteria) this;
        }

        public Criteria andDonationRateGreaterThan(Double value) {
            addCriterion("donation_rate >", value, "donationRate");
            return (Criteria) this;
        }

        public Criteria andDonationRateGreaterThanOrEqualTo(Double value) {
            addCriterion("donation_rate >=", value, "donationRate");
            return (Criteria) this;
        }

        public Criteria andDonationRateLessThan(Double value) {
            addCriterion("donation_rate <", value, "donationRate");
            return (Criteria) this;
        }

        public Criteria andDonationRateLessThanOrEqualTo(Double value) {
            addCriterion("donation_rate <=", value, "donationRate");
            return (Criteria) this;
        }

        public Criteria andDonationRateIn(List<Double> values) {
            addCriterion("donation_rate in", values, "donationRate");
            return (Criteria) this;
        }

        public Criteria andDonationRateNotIn(List<Double> values) {
            addCriterion("donation_rate not in", values, "donationRate");
            return (Criteria) this;
        }

        public Criteria andDonationRateBetween(Double value1, Double value2) {
            addCriterion("donation_rate between", value1, value2, "donationRate");
            return (Criteria) this;
        }

        public Criteria andDonationRateNotBetween(Double value1, Double value2) {
            addCriterion("donation_rate not between", value1, value2, "donationRate");
            return (Criteria) this;
        }

        public Criteria andDonationAmountIsNull() {
            addCriterion("donation_amount is null");
            return (Criteria) this;
        }

        public Criteria andDonationAmountIsNotNull() {
            addCriterion("donation_amount is not null");
            return (Criteria) this;
        }

        public Criteria andDonationAmountEqualTo(BigDecimal value) {
            addCriterion("donation_amount =", value, "donationAmount");
            return (Criteria) this;
        }

        public Criteria andDonationAmountNotEqualTo(BigDecimal value) {
            addCriterion("donation_amount <>", value, "donationAmount");
            return (Criteria) this;
        }

        public Criteria andDonationAmountGreaterThan(BigDecimal value) {
            addCriterion("donation_amount >", value, "donationAmount");
            return (Criteria) this;
        }

        public Criteria andDonationAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("donation_amount >=", value, "donationAmount");
            return (Criteria) this;
        }

        public Criteria andDonationAmountLessThan(BigDecimal value) {
            addCriterion("donation_amount <", value, "donationAmount");
            return (Criteria) this;
        }

        public Criteria andDonationAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("donation_amount <=", value, "donationAmount");
            return (Criteria) this;
        }

        public Criteria andDonationAmountIn(List<BigDecimal> values) {
            addCriterion("donation_amount in", values, "donationAmount");
            return (Criteria) this;
        }

        public Criteria andDonationAmountNotIn(List<BigDecimal> values) {
            addCriterion("donation_amount not in", values, "donationAmount");
            return (Criteria) this;
        }

        public Criteria andDonationAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("donation_amount between", value1, value2, "donationAmount");
            return (Criteria) this;
        }

        public Criteria andDonationAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("donation_amount not between", value1, value2, "donationAmount");
            return (Criteria) this;
        }

        public Criteria andUserProfitIsNull() {
            addCriterion("user_profit is null");
            return (Criteria) this;
        }

        public Criteria andUserProfitIsNotNull() {
            addCriterion("user_profit is not null");
            return (Criteria) this;
        }

        public Criteria andUserProfitEqualTo(BigDecimal value) {
            addCriterion("user_profit =", value, "userProfit");
            return (Criteria) this;
        }

        public Criteria andUserProfitNotEqualTo(BigDecimal value) {
            addCriterion("user_profit <>", value, "userProfit");
            return (Criteria) this;
        }

        public Criteria andUserProfitGreaterThan(BigDecimal value) {
            addCriterion("user_profit >", value, "userProfit");
            return (Criteria) this;
        }

        public Criteria andUserProfitGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("user_profit >=", value, "userProfit");
            return (Criteria) this;
        }

        public Criteria andUserProfitLessThan(BigDecimal value) {
            addCriterion("user_profit <", value, "userProfit");
            return (Criteria) this;
        }

        public Criteria andUserProfitLessThanOrEqualTo(BigDecimal value) {
            addCriterion("user_profit <=", value, "userProfit");
            return (Criteria) this;
        }

        public Criteria andUserProfitIn(List<BigDecimal> values) {
            addCriterion("user_profit in", values, "userProfit");
            return (Criteria) this;
        }

        public Criteria andUserProfitNotIn(List<BigDecimal> values) {
            addCriterion("user_profit not in", values, "userProfit");
            return (Criteria) this;
        }

        public Criteria andUserProfitBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("user_profit between", value1, value2, "userProfit");
            return (Criteria) this;
        }

        public Criteria andUserProfitNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("user_profit not between", value1, value2, "userProfit");
            return (Criteria) this;
        }

        public Criteria andPlatformProfitIsNull() {
            addCriterion("platform_profit is null");
            return (Criteria) this;
        }

        public Criteria andPlatformProfitIsNotNull() {
            addCriterion("platform_profit is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformProfitEqualTo(BigDecimal value) {
            addCriterion("platform_profit =", value, "platformProfit");
            return (Criteria) this;
        }

        public Criteria andPlatformProfitNotEqualTo(BigDecimal value) {
            addCriterion("platform_profit <>", value, "platformProfit");
            return (Criteria) this;
        }

        public Criteria andPlatformProfitGreaterThan(BigDecimal value) {
            addCriterion("platform_profit >", value, "platformProfit");
            return (Criteria) this;
        }

        public Criteria andPlatformProfitGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("platform_profit >=", value, "platformProfit");
            return (Criteria) this;
        }

        public Criteria andPlatformProfitLessThan(BigDecimal value) {
            addCriterion("platform_profit <", value, "platformProfit");
            return (Criteria) this;
        }

        public Criteria andPlatformProfitLessThanOrEqualTo(BigDecimal value) {
            addCriterion("platform_profit <=", value, "platformProfit");
            return (Criteria) this;
        }

        public Criteria andPlatformProfitIn(List<BigDecimal> values) {
            addCriterion("platform_profit in", values, "platformProfit");
            return (Criteria) this;
        }

        public Criteria andPlatformProfitNotIn(List<BigDecimal> values) {
            addCriterion("platform_profit not in", values, "platformProfit");
            return (Criteria) this;
        }

        public Criteria andPlatformProfitBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("platform_profit between", value1, value2, "platformProfit");
            return (Criteria) this;
        }

        public Criteria andPlatformProfitNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("platform_profit not between", value1, value2, "platformProfit");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andAudienceSizeIsNull() {
            addCriterion("audience_size is null");
            return (Criteria) this;
        }

        public Criteria andAudienceSizeIsNotNull() {
            addCriterion("audience_size is not null");
            return (Criteria) this;
        }

        public Criteria andAudienceSizeEqualTo(Integer value) {
            addCriterion("audience_size =", value, "audienceSize");
            return (Criteria) this;
        }

        public Criteria andAudienceSizeNotEqualTo(Integer value) {
            addCriterion("audience_size <>", value, "audienceSize");
            return (Criteria) this;
        }

        public Criteria andAudienceSizeGreaterThan(Integer value) {
            addCriterion("audience_size >", value, "audienceSize");
            return (Criteria) this;
        }

        public Criteria andAudienceSizeGreaterThanOrEqualTo(Integer value) {
            addCriterion("audience_size >=", value, "audienceSize");
            return (Criteria) this;
        }

        public Criteria andAudienceSizeLessThan(Integer value) {
            addCriterion("audience_size <", value, "audienceSize");
            return (Criteria) this;
        }

        public Criteria andAudienceSizeLessThanOrEqualTo(Integer value) {
            addCriterion("audience_size <=", value, "audienceSize");
            return (Criteria) this;
        }

        public Criteria andAudienceSizeIn(List<Integer> values) {
            addCriterion("audience_size in", values, "audienceSize");
            return (Criteria) this;
        }

        public Criteria andAudienceSizeNotIn(List<Integer> values) {
            addCriterion("audience_size not in", values, "audienceSize");
            return (Criteria) this;
        }

        public Criteria andAudienceSizeBetween(Integer value1, Integer value2) {
            addCriterion("audience_size between", value1, value2, "audienceSize");
            return (Criteria) this;
        }

        public Criteria andAudienceSizeNotBetween(Integer value1, Integer value2) {
            addCriterion("audience_size not between", value1, value2, "audienceSize");
            return (Criteria) this;
        }

        public Criteria andUpdatedIsNull() {
            addCriterion("updated is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedIsNotNull() {
            addCriterion("updated is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedEqualTo(Date value) {
            addCriterion("updated =", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedNotEqualTo(Date value) {
            addCriterion("updated <>", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedGreaterThan(Date value) {
            addCriterion("updated >", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedGreaterThanOrEqualTo(Date value) {
            addCriterion("updated >=", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedLessThan(Date value) {
            addCriterion("updated <", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedLessThanOrEqualTo(Date value) {
            addCriterion("updated <=", value, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedIn(List<Date> values) {
            addCriterion("updated in", values, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedNotIn(List<Date> values) {
            addCriterion("updated not in", values, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedBetween(Date value1, Date value2) {
            addCriterion("updated between", value1, value2, "updated");
            return (Criteria) this;
        }

        public Criteria andUpdatedNotBetween(Date value1, Date value2) {
            addCriterion("updated not between", value1, value2, "updated");
            return (Criteria) this;
        }

        public Criteria andCreatedIsNull() {
            addCriterion("created is null");
            return (Criteria) this;
        }

        public Criteria andCreatedIsNotNull() {
            addCriterion("created is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedEqualTo(Date value) {
            addCriterion("created =", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotEqualTo(Date value) {
            addCriterion("created <>", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedGreaterThan(Date value) {
            addCriterion("created >", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedGreaterThanOrEqualTo(Date value) {
            addCriterion("created >=", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedLessThan(Date value) {
            addCriterion("created <", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedLessThanOrEqualTo(Date value) {
            addCriterion("created <=", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedIn(List<Date> values) {
            addCriterion("created in", values, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotIn(List<Date> values) {
            addCriterion("created not in", values, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedBetween(Date value1, Date value2) {
            addCriterion("created between", value1, value2, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotBetween(Date value1, Date value2) {
            addCriterion("created not between", value1, value2, "created");
            return (Criteria) this;
        }

        public Criteria andDurationIsNull() {
            addCriterion("duration is null");
            return (Criteria) this;
        }

        public Criteria andDurationIsNotNull() {
            addCriterion("duration is not null");
            return (Criteria) this;
        }

        public Criteria andDurationEqualTo(Integer value) {
            addCriterion("duration =", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationNotEqualTo(Integer value) {
            addCriterion("duration <>", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationGreaterThan(Integer value) {
            addCriterion("duration >", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationGreaterThanOrEqualTo(Integer value) {
            addCriterion("duration >=", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationLessThan(Integer value) {
            addCriterion("duration <", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationLessThanOrEqualTo(Integer value) {
            addCriterion("duration <=", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationIn(List<Integer> values) {
            addCriterion("duration in", values, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationNotIn(List<Integer> values) {
            addCriterion("duration not in", values, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationBetween(Integer value1, Integer value2) {
            addCriterion("duration between", value1, value2, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationNotBetween(Integer value1, Integer value2) {
            addCriterion("duration not between", value1, value2, "duration");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}